
using Dapper.Contrib.Extensions;

namespace Read.Models
{

    /// <summary>
    /// 操作日志类
    /// </summary>
    [Table(Tables.OperationLog)]
    public class OperationLogModel
    {
        /// <summary>
        /// 日志Id
        /// </summary>
        [Key]
        public int Id { get; set; }

        /// <summary>
        /// 操作帐号Id
        /// </summary>
        public int Uid { get; set; }

        /// <summary>
        /// 操作时间
        /// </summary>
        public int Time { get; set; }

        /// <summary>
        /// 操作Ip
        /// </summary>
        public string Ip { get; set; }

        /// <summary>
        /// 状态,0错误提示，1为正确提示
        /// </summary>
        public bool Status { get; set; }

        /// <summary>
        /// 其他说明
        /// </summary>
        public string Info { get; set; }

        /// <summary>
        /// 操作请求的URL
        /// </summary>
        public string Url { get; set; }
    }
}